<?	
	global $Menu2,$Menu2Link,$SubMenu2,$SubMenu2Link, $lg, $db, $prefix_url, $FullUrl;
	
	$sql = "select * from categories where showed=1 and pid=" . "789" . " order by num asc,id asc";
	
	$SubMenu2 = $db->getAll($sql);
	$SubMenu2Link = array();
	$n = count($SubMenu2);
	for($j=0; $j<$n; $j++){
		$SubMenu2Link[$j] = $FullUrl . $prefix_url ."template-website" . "/" . $SubMenu2[$j]["unique_key_$lg"] . "/";
	}
	include(UC_DIR_TPL.'Categories.ctp');
?>